#ifndef HUMAN_H
#define HUMAN_H

#include <stddef.h>

#define HUMAN_CAPACITY 4

typedef enum {
    HARMLESS = 0,
    COMMON,
    DANGEROUS,
    DANGER_COUNT,
}Danger ;

typedef struct Human Human;
struct Human
{
    char *name;
    Danger danger;
    float prob;
};

static Human human_pool[HUMAN_CAPACITY] = {0};

const char *danger_as_cstr(Danger danger);
size_t human_danger_num(Human *humans, Danger d, size_t size);
size_t human_danger_num_meeting_prob(Human *humans, Danger d, float p, size_t size);

#endif //HUMAN_H
